package com.app.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;


//评论表
@Data
@AllArgsConstructor
@NoArgsConstructor
@JsonInclude(JsonInclude.Include.NON_NULL)
@TableName("tb_complaint")
public class ComplainModel {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private Integer areaId;//地区id
    private String areaCode;//地区唯一编码
    private String dataJson;//数据json
    private Integer userId;//用户ID
    @TableField(exist = false)
    private Integer page;
    @TableField(exist = false)
    private Integer limit;

}
